package cn.itsource.system.mapper;





import cn.itsource.system.domain.Menu;
import cn.itsource.system.query.MenuQuery;

import java.util.List;

public interface MenuMapper {
    void add(Menu menu);
    void update(Menu menu);
    void delete(Long id);   
    Menu getOne(Long id);
    List<Menu> getAll();

    void patchDelete(Long[] ids);

    List<Menu> pageQuery(MenuQuery query);

}
